package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.UsernameLocation;
import com.ruoyi.system.mapper.UsernameLocationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.service.IUsernameLocationService;

import java.util.List;

@Service
public class UsernameLocationImpl implements IUsernameLocationService {
    @Autowired
    UsernameLocationMapper usernameLocationMapper;

    @Override
    public List<UsernameLocation> selectLocationByUsername(String username){
        return usernameLocationMapper.selectLocationByUsername(username);
    }
}
